package manager.actionform;

import org.apache.struts.action.ActionForm;

/**
 * 学生Form，装载学生的信息
 * 
 * May 10, 2009
 *
 * @author Fabian
 *
 */
public class StudentForm extends ActionForm {
	//分页的起始记录
	private int start;
	//每页显示记录数
	private int limit;
	//编号
	private int id;
	//学号
	private int number;
	//姓名
	private String name;
	//性别
	private String sex;
	//密码
	private String password;	
	//班级编号
	private int class_id;
	//年级编号
	private int grade_id;
	//专业id
	private int major_id;
	//放置删除传递到后台的id集合字符串
	private String delStr;
	
	/**
	 * @return the start
	 */
	public int getStart() {
		return start;
	}
	/**
	 * @param start the start to set
	 */
	public void setStart(int start) {
		this.start = start;
	}
	/**
	 * @return the limit
	 */
	public int getLimit() {
		return limit;
	}
	/**
	 * @param limit the limit to set
	 */
	public void setLimit(int limit) {
		this.limit = limit;
	}
	/**
	 * @return the id
	 */
	public int getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(int id) {
		this.id = id;
	}
	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}
	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * @return the sex
	 */
	public String getSex() {
		return sex;
	}
	/**
	 * @param sex the sex to set
	 */
	public void setSex(String sex) {
		this.sex = sex;
	}	
	/**
	 * @return the number
	 */
	public int getNumber() {
		return number;
	}
	/**
	 * @param number the number to set
	 */
	public void setNumber(int number) {
		this.number = number;
	}
	/**
	 * @return the grade_id
	 */
	public int getGrade_id() {
		return grade_id;
	}
	/**
	 * @param grade_id the grade_id to set
	 */
	public void setGrade_id(int grade_id) {
		this.grade_id = grade_id;
	}
	/**
	 * @return the password
	 */
	public String getPassword() {
		return password;
	}
	/**
	 * @param password the password to set
	 */
	public void setPassword(String password) {
		this.password = password;
	}
	/**
	 * @return the major_id
	 */
	public int getMajor_id() {
		return major_id;
	}
	/**
	 * @param major_id the major_id to set
	 */
	public void setMajor_id(int major_id) {
		this.major_id = major_id;
	}
	/**
	 * @return the delStr
	 */
	public String getDelStr() {
		return delStr;
	}
	/**
	 * @param delStr the delStr to set
	 */
	public void setDelStr(String delStr) {
		this.delStr = delStr;
	}
	/**
	 * @return the class_id
	 */
	public int getClass_id() {
		return class_id;
	}
	/**
	 * @param class_id the class_id to set
	 */
	public void setClass_id(int class_id) {
		this.class_id = class_id;
	}
}
